<template>
	<div id="app">
		<jiess :setup="setup" />
		<router-view />
	</div>
</template>

<script>
	import { $JiessDialog } from '@/.jiess';
	export default {
		created() {
			this.setup = function() {
				// 注册全局弹框组件
				this.add(this.render({ is: $JiessDialog }))
			}
		}
	}
</script>

<style lang="scss">
	body {
		background-color: rgb(243, 244, 246);
	}

	#app {
		font-family: Avenir, Helvetica, Arial, sans-serif;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		color: #2c3e50;
		max-width: 1280px;
		margin: 0 auto;
	}
</style>